import { App } from "vue";
import * as directives from "@vue-ant-plus/directives";

/**
 * 注册全局自定义指令
 * @param app
 */
export function setupDirectives(app: App) {
  Object.entries(directives).forEach(([name, directive]) => {
    app.directive(name, directive);
  });
}
